import request from '@/utils/request'

// 查询用户信息列表
export function listCopy1(data) {
  return request({
    url: '/copy1/listSysUserCopy1',
    method: 'post',
      data: data
  })
}

// 查询用户信息详细
export function getCopy1(userId) {
  return request({
    url: '/copy1/getSysUserCopy1ById?userId=' + userId,
    method: 'get'
  })
}

// 新增用户信息
export function addCopy1(data) {
  return request({
    url: '/copy1/addSysUserCopy1',
    method: 'post',
    data: data
  })
}

// 修改用户信息
export function updateCopy1(data) {
  return request({
    url: '/copy1/editSysUserCopy1',
    method: 'post',
    data: data
  })
}

// 删除用户信息
export function delCopy1(userId) {
  return request({
    url: '/copy1/delSysUserCopy1?userIds=' + userId,
    method: 'delete'
  })
}
